students = ["张三", "李四", "王五"]

# 使用 enumerate 遍历
for index, name in enumerate(students):
    print(f"第 {index} 位学生：{name}")

for name in enumerate(students):
    print(f"{name}")



students=[
    {"student_id":1,"student_name":"张三","student_number":"202410101","gender":1,"class_name":"一年1班","chinese_score":90,"math_score":80,"english_score":70,"total_score":240},
    {"student_id":2,"student_name":"李四","student_number":"202410102","gender":2,"class_name":"一年1班","chinese_score":80,"math_score":90,"english_score":80,"total_score":270},
    {"student_id":3,"student_name":"王五","student_number":"202410103","gender":1,"class_name":"一年1班","chinese_score":70,"math_score":80,"english_score":90,"total_score":250},
    {"student_id":4,"student_name":"赵六","student_number":"202410104","gender":2,"class_name":"一年1班","chinese_score":60,"math_score":70,"english_score":80,"total_score":230},
    {"student_id":5,"student_name":"孙七","student_number":"202410105","gender":1,"class_name":"一年1班","chinese_score":50,"math_score":60,"english_score":70,"total_score":190},
]



